export type ConfirmModalFuncProps =
  | string
  | Omit<ConfirmModalProps, "onOk" | "onCancel" | "visible" | "close">;

export interface ConfirmModalProps {
  visible?: boolean;
  title?: React.ReactNode;
  showCancel?: boolean;
  icon?: React.ReactNode;
  content?: React.ReactNode;
  okText?: React.ReactNode;
  cancelText?: React.ReactNode;
  onOk?: () => void;
  onCancel?: () => void;
  afterClose?: () => void;
  close: () => void;
}
